package utils.geko.crud;


/**
 * @author rjanixz
 *
 */
public class CRUDFieldRecord {
	
	private String name;
	private boolean isSortable;
	
	private String module;
	private String controller;
	private String method;
	
	public CRUDFieldRecord(String module, String controller, String method) {
		this.module = module;
		this.controller = controller;
		this.method = method;
	}
	
	public String getTableHeaderLabel() {
		return module+"."+controller+"."+method+".table.header."+name;
	}
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public boolean isSortable() {
		return isSortable;
	}
	public void setSortable(boolean isSortable) {
		this.isSortable = isSortable;
	}
	
}
